/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.kramerius.articles.importFromLn.cli;

import cz.mzk.kramerius.articles.importFromLn.importLogRestore.ImportLogRestorer;
import cz.mzk.kramerius.commons.PropertyLoader;

/**
 *
 * @author Martin Řehánek <rehan at mzk.cz>
 */
public class RestoreImportLogsAction implements Action {

    private final ImportLogRestorer restorer;

    public RestoreImportLogsAction(PropertyLoader properties) {
        restorer = new ImportLogRestorer(properties);
    }

    @Override
    public void run() {
        restorer.restore();
    }
}
